//
//  DecorateAppointMultiTableViewCell.h
//  customer
//
//  Created by Holothurian on 2018/10/30.
//  Copyright © 2018年 yinlong. All rights reserved.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

@protocol DecorateTapSelectTableCellDelegate <NSObject>

@optional
/**
 类型选择
 */
- (void)tapSelectTableCellEventWithIndexPath:(NSIndexPath *)indexPath;

/**
地址选择
 */
- (void)tapPlaceTableCellEvent;

- (void)modifSingleTextFieldTableCell:(NSIndexPath *)indexPath WithEditEndText:(NSString *)text;

@end

/**
 name 、detailName
 */
@interface DecorateAppointDefaultTableCell : UITableViewCell

@property (nonatomic,strong)UILabel *nameLabel;

@property (nonatomic,strong)UILabel *detailNameLabel;

@end





//name、selectType、downImageView、
@interface DecorateAppointTapSelectTableCell : UITableViewCell

/**
 选择类型
 */
@property (nonatomic,strong)UILabel *nameLabel;

/**
 点击选择类型
 */
@property (nonatomic,strong)UILabel *selectTypeLabel;

/**
 下箭头
 */
@property (nonatomic,strong)UIImageView *downImgView;

@property (nonatomic,strong)NSIndexPath *indexPath;

@property (nonatomic,weak)id<DecorateTapSelectTableCellDelegate>delegate;

- (void)cellForLayout:(NSString *)value;

@end

/**
 name、textField、m2
 */
@interface DecorateAppointSquare2TableCell : UITableViewCell
//房屋面积
@property (nonatomic,strong)UILabel *nameLabel;
//请输入房屋面积
@property (nonatomic,strong)UITextField *squareTextField;
//平方米
@property (nonatomic,strong)UILabel *squareLabel;

@property (nonatomic,strong)NSIndexPath *indexPath;

@property (nonatomic,weak)id<DecorateTapSelectTableCellDelegate>delegate;

@end

//name 、 textField
@interface DecorateAppointInputTextTableCell : UITableViewCell
//房屋面积
@property (nonatomic,strong)UILabel *nameLabel;
//请输入...
@property (nonatomic,strong)UITextField *textField;

@property (nonatomic,strong)NSIndexPath *indexPath;

@property (nonatomic,weak)id<DecorateTapSelectTableCellDelegate>delegate;
@end


/**
 name、placeImage、selectPlaceLabel、rightImage
 */
@interface DecorateAppointPositionSelectTableCell : UITableViewCell

//所在地区
@property (nonatomic,strong)UILabel *nameLabel;
//img
@property (nonatomic,strong)UIImageView *placeImgView;
//点击选择地址
@property (nonatomic,strong)UILabel *selectPlaceLabel;
//rightImg
@property (nonatomic,strong)UIImageView *rightImgView;

@property (nonatomic,weak)id<DecorateTapSelectTableCellDelegate>delegate;

- (void)cellForLayout:(NSString *)string;

@end

NS_ASSUME_NONNULL_END
